package com.carp.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("carp_article")
public class CarpArticle implements Serializable {
  @TableId(type = IdType.AUTO)
  private long id;
  private String title;
  private String content;

  @TableField(fill = FieldFill.INSERT)
  private Date createTime;

  @TableField(fill = FieldFill.INSERT_UPDATE)
  private Date  modifyTime;

  private Integer uid;

  @TableLogic
  private String deleted;

}
